package dao;

import java.util.List;

import vo.Log;

public interface LogDAO extends GenericDao<Log, Long> {

	public List<Log> findAll();

	public List<Log> findAll(int start, int pageSize);

	public long findTotalCount();

	public List<Log> findByUserIdMessage(long userId, String msg);

	public List<Log> findByUserIdType(long userId, String type);

	public List<Log> findByUserId(long userId);

	public Log getById(long id);

	public void update(long id);

	public void delete(long id);

}
